package com.linsir.lin.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.linsir.base.BasePOJO;
import lombok.Data;

/**
 * @author ：linsir
 * @date ：Created in 2021/6/28 13:34
 * @description：組織結構
 * @modified By：
 * @version: 1.0.0
 */
@TableName(value = "lin_organization")
@Data
public class Organization extends BasePOJO {

    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    private String name;

    private String code;

    private String type;

    private String sort;

    private Integer pid;

    public Integer getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getSort() {
        return sort;
    }

    public void setSort(String sort) {
        this.sort = sort;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }
}
